home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 03r.dir / 00001.ls next >
Encoding:
Text File  |  1999-07-22  |  2.1 KB  |  83 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 3
  7.   puppetSound(0)
  8.   gSendMovie = "03r"
  9.   qtChan = 35
  10.   sprite(qtChan).volume = 256
  11.   cast("housmem").directToStage = 1
  12.   preLoad(qtChan - 1)
  13.   initGlobals()
  14.   gKnobSprite = 17
  15.   setUpKnob()
  16.   if gsearchOn = 1 then
  17.     sprite(6).visible = 1
  18.   else
  19.     sprite(6).visible = 0
  20.   end if
  21.   set the mouseDownScript to EMPTY
  22.   set the mouseUpScript to EMPTY
  23. end
  24.  
  25. on stopMovie
  26.   puppetSprite(38, 0)
  27.   puppetSprite(29, 0)
  28. end
  29.  
  30. on idle
  31.   global gCursorReady
  32.   if gCursorReady = 1 then
  33.     cursor(200)
  34.     checkCursors()
  35.     set the locH of sprite 44 to the mouseH
  36.     set the locV of sprite 44 to the mouseV
  37.     updateStage()
  38.   end if
  39. end
  40.  
  41. on checkCursors
  42.   global gMagCursor
  43.   set the castNum of sprite 44 to the number of member "curs1"
  44.   if rollOver(5) then
  45.     set the castNum of sprite 44 to the number of member "hotCursor"
  46.   end if
  47.   if rollOver(22) then
  48.     set the castNum of sprite 44 to the number of member "hotCursor"
  49.   end if
  50.   if rollOver(7) then
  51.     set the castNum of sprite 44 to the number of member "deMagCursor"
  52.   end if
  53.   if rollOver(8) then
  54.     set the castNum of sprite 44 to the number of member gMagCursor
  55.   end if
  56.   repeat with i = 8 to 12
  57.     if rollOver(i) then
  58.       set the castNum of sprite 44 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61.   repeat with i = 14 to 21
  62.     if rollOver(i) then
  63.       set the castNum of sprite 44 to the number of member "hotCursor"
  64.     end if
  65.   end repeat
  66.   repeat with i = 24 to 28
  67.     if rollOver(i) then
  68.       set the castNum of sprite 44 to the number of member "hotCursor"
  69.     end if
  70.   end repeat
  71.   if rollOver(35) then
  72.     set the castNum of sprite 44 to the number of member "nonCursor"
  73.   end if
  74.   if rollOver(36) then
  75.     set the castNum of sprite 44 to the number of member "hotCursor"
  76.   end if
  77.   repeat with i = 40 to 42
  78.     if rollOver(i) then
  79.       set the castNum of sprite 44 to the number of member "hotCursor"
  80.     end if
  81.   end repeat
  82. end
  83.